<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <div id="app">
    <span>{{obj.abc}}</span>
    <h1>{{msg}}</h1>
    <h2 v-text="msg"></h2>
    <span>{{age}}</span>
  </div>

  <script src="../dist/vue.js"></script>
  <script>
    const vm = new Vue({
      el: '#app',
      data() {
        return {
          msg: 'lanpang',
          age: 18,
          obj: {
            name: 'wang',
            count: 1
          }
        }
      },
    });
  </script>
</body>

</html>